package com.xinke.query.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum FeedbackStatus implements BaseEnum {
    NOT_DOWNLOADED(0, "未下载"),
    DOWNLOADING(1, "下载中"),
    DOWNLOADED(2, "已完成"),
    DOWNLOAD_FAILED(3, "下载失败");
    @EnumValue
    @JsonValue
    private Integer code;
    private String name;

    FeedbackStatus(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return 0;
    }

    @Override
    public String getName() {
        return "";
    }
}
